﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="salestemp.aspx.cs" Inherits="Acc.Manage.Report_SF_aspx.salestemp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <center>
    <div style="height: auto; border:0px solid black; ">
        <table style="height: 74px; width: 647px; line-height:15px; ">
              
            <tr style=" text-align:left; ">
                <td style=" text-align:left;"  width="420px">购货单位:<%=CUSTOMERNAME %></td>
                
                <td width="227px">发货日期:</td>
            </tr>
            
            <tr style=" text-align:left;">
                 <td width="420px">来源单号:<%=code %></td>
               
                <td width="227px">退货日期:<asp:Label ID="lblDate" runat="server" Text=""></asp:Label></td>
            </tr>
        </table>
        
        <br />
        <table style="width: 640px; text-align: left;">
            <tr>
                <td>
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                        Width="640px" onselectedindexchanged="GridView1_SelectedIndexChanged" >
                        <Columns>
                            <asp:BoundField DataField="materialName" HeaderText="品名" />
                            <asp:BoundField DataField="specification" HeaderText="规格" />
                            <asp:BoundField DataField="unit" HeaderText="单位" />
                            <asp:BoundField DataField="num" HeaderText="数量" />
                            <asp:BoundField DataField="price" HeaderText="单价" />
                            <asp:BoundField DataField="countnum" HeaderText="金额" />
                            <asp:BoundField DataField="shuilv" HeaderText="税率" />
                            <asp:BoundField DataField="buhanshui" HeaderText="不含税金额" />
                        </Columns>        
                    </asp:GridView>
                </td>
            </tr>
        </table>
        <table>
            <tr>
                <td>
                    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" Width="640px">
                        <Columns>
                            <asp:BoundField DataField="materialName" HeaderText="品名" />
                            <asp:BoundField DataField="specification" HeaderText="规格" />
                            <asp:BoundField DataField="unit" HeaderText="单位" />
                            <asp:BoundField DataField="num" HeaderText="数量" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
        </table>
                <br />
        <table style="width: 640px; text-align: left; border:1px solid black;">
            <tr>
                <td  style=" border-right:1px solid black;">
                    <asp:Label ID="Label2" runat="server" Text=" 数量合计："></asp:Label>
                    <asp:Label ID="Label3" runat="server" Text="Label"><%=numCount %></asp:Label>
                </td>
                <td  style=" border-right:1px solid black;">
                    <asp:Label ID="lblCountMoney" runat="server" Text="金额合计："></asp:Label>
                    <asp:Label ID="lblCountMoney1" runat="server" Text=""><%=moneyCount %></asp:Label>
                </td>
                <td >
                    <asp:Label ID="lblBuhanshui" runat="server" Text="不含税金额合计："></asp:Label>
                    <asp:Label ID="lblBuhanshui1" runat="server" Text=""><%=buhanshui%></asp:Label>
                </td>
            </tr>
        </table>
        <br />
            <table style="height: auto; width: 640px; line-height:20px; border:1 px solid;">
            <tr style=" text-align:left; ">
                <td>制单人:<%=createman%></td>
                <td>审核人:<%=Reviewedman%></td>
                <td>库房:</td>
                 <td>财务:</td>
            </tr>
            <tr style=" text-align:left; ">
                <td>打印人:</td>
                <td>打印时间:<asp:Label ID="lblPrintDate" runat="server" Text=""></asp:Label></td>
                <td colspan="2" style="text-align: right;">
                    【WMS仓库管理系统】
                </td>
            </tr>
        </table>
    </div>
    <div style=" margin:300px auto auto auto;">
       <input type="button" value="打印"  id="ccc"onclick= "window.print()" />
                   
    </center>
    </form>
</body>
</html>
